Tempo

  • By Canonical Observability
Channel Revision Published Runs on
latest/stable 51 01 Aug 2024
Ubuntu 22.04 Ubuntu 20.04
latest/stable 9 16 Feb 2024
Ubuntu 22.04 Ubuntu 20.04
latest/candidate 71 01 Aug 2024
Ubuntu 22.04 Ubuntu 20.04
latest/candidate 9 12 Dec 2023
Ubuntu 22.04 Ubuntu 20.04
latest/beta 75 01 Aug 2024
Ubuntu 22.04 Ubuntu 20.04
latest/beta 9 12 Dec 2023
Ubuntu 22.04 Ubuntu 20.04
latest/edge 80 02 Sep 2024
Ubuntu 22.04 Ubuntu 20.04
latest/edge 9 31 Jul 2023
Ubuntu 22.04 Ubuntu 20.04
juju deploy tempo-k8s --channel edge
Show information

Platform:

Integrate Tempo as a Datasource in Grafana

Assuming you have a charmed application whose workload or charm is instrumented and is pushing traces into Tempo.

As part of powerful Tempo capabilities, you can configure Tempo as a datasource to a grafana-k8s instance to view traces and spans there.

Deploy grafana-k8s

skip this section if you have a cos-lite bundle deployed.

juju deploy grafana-k8s grafana --trust 

Integrate with grafana on grafana-source

juju integrate tempo:grafana-source grafana:grafana-source

integrating over grafana-source endpoint will provision tempo as a data source in grafana.

Integrate with grafana on tracing

juju integrate tempo:tracing grafana:tracing

integrating over tracing endpoint will instrument grafana charm to push its charm traces to tempo. soon, grafana-k8s will have support to send its workload traces as well once tracing relation is established.

View grafana traces

first, we need to open grafana web UI by following accessing grafana UI from host machine.

Then, open Grafana web UI form your local web browser and login using the admin password.

Then:

Toggle Menu → Explore → Choose your tempo datasource 

Then, run TraceQL query below:

{.service.name = "grafana"}

This should result in an output similar to the one below:

you can view all traces pushed by grafana and inspect their spans. See more about traces and spans in the Charm Realm


Help improve this document in the forum (guidelines). Last updated 4 months ago.